body {
  background-image: url(../img/background1_1.jpg);
  background-size: 100%, 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
li {
    list-style: none;
}
  background-color: blue;
.topper {
    h1 {
    text-align: center;
    line-height: 100px;
    margin-top: 0;
    color:white;
    font-family: '宋体';;
    }
    overflow: hidden;
    height: 100px;
    margin: 30px auto;
    display: block;
    width: 300px;
    background-image: url(../img/button1_1.png);
    background-size: 100% 100%;
}
.gamebgc,.game,.borders,.loading{
    width: 1200px;
    height: 600px;
    margin: 0px auto;
}
.borders{
    overflow: hidden;
    background-image: url(../img/border.png);
    background-size: 100% 100%;
    position: absolute;
    top: 0;
    left: 0;

    .buttonser{
        width: 600px;
        height: 50px;
        margin: 50px auto;
        ul{
           margin-left: 20px; 
        }
        li{
            width: 100px;
            height: 60px;
            float: left;
            margin-right: 80px;
            background-image: url(../img/button1_2.png);
            background-size: 100% 100%;
            text-align: center;
            line-height: 55px;
            color: white;
        }
        & li:last-child{
            margin-right: 0px;
        }
        
    }
    .tages{
        position: absolute;
        top: 70px;
        left: 100px;
        width: 200px;
        height: 200px;
        ul{
            width: 100%;
            height: 100%;
            margin: 0;
            margin-left: -20px;
            overflow: hidden;
            li{
                width: 100%;
                height: 50px;
                background-image: url(../img/loader1_2.png);
                background-size: 100% 100%;
                color: white;
                text-align: center;
                line-height: 45px;
                margin-bottom: 20px;
                transition: all 2s;
                margin-left: -300px;

            }
        }
    }
    .state{
        width: 80px;
        height: 150px;
        position: absolute;
        top: 100px;
        right: 100px;
        i{
            color: white;
            font-size: 10px;
            margin-right: 2px;
        }
        & i:last-child{
            margin: 0;
        }
        ul{
            width: 100%;
            height: 100%;
            margin: 0;
            margin-top: 20px;
            margin-left: -40px;
        }
        li{
            width: 20px;
            height: 150px;
            margin-right: 10px;
            float: left;
            background-image: url(../img/loading.png);
            background-size: 100% 100%;
            span{
                display: block;
                margin: 10px auto;
                border-radius: 10px;
                width: 60%;
                height: 90%;
                background-color: white;
                transition: all 1s;
            }
            
        }
        & li:last-child{
            margin-right: 0;
        }
    }
    
}
.gamebgc {
    background-size: 100% 100%;
    width: 1100px;
    height: 550px;

}
.game {
    position: relative;
    margin-top: -10px;
    border: 1px inherit red;
    padding-top: 20px;
.eleveszheng,.elevesleft,.elevesright,.eleveshou,.eleveszhengstop,.elevesleftstop,.elevesrightstop,.eleveshoustop {
    position: absolute; 
    top: 0;
    left: 0; 
    width: 60px;
    height: 135px;
    background-image: url(../img/eleves.png);
    background-position: -14px  -147px;
    transition: 2s all linear;
    }
.loading{
    background-size: 100% 100%;
}   
.elevesleft{
        width: 120px;
        animation: left 1s steps(2) infinite ;
    }
.elevesleftstop{
        width: 120px;
        background-position: -14px  -147px;
}
.eleveszheng{
        animation: zhengmian 1s steps(2) infinite ;
    }
.eleveszhengstop{
        background-position: 107px   -6px;
}
.elevesright{
        animation: right 1s steps(2) infinite ;
        width: 110px;
    }
.elevesrightstop{
        background-position: -17px -284px;
        width: 110px;
}
.eleveshou{
        width: 130px;
        animation: fanmian 1s steps(2) infinite ;
    }
.eleveshoustop{
        width: 110px;
        background-position: -33px 137px;
}
.eleveszhengstop,.elevesleftstop,.elevesrightstop,.eleveshoustop{


}
  }
}
@keyframes zhengmian{
    0%{
        background-position: -188px  -6px;
    }
   
    100%{
        background-position: -465px -6px;
    }
   
}
@keyframes left{
    0%{
        background-position: -160px  -147px;
    }
   
    100%{
        background-position: -465px -147px;
    }
   
}
@keyframes right{
    0%{
        background-position: -160px -284px;
    }
   
    100%{
        background-position: -435px -284px;
    }
   
}
@keyframes fanmian{
    0%{
        background-position: -150px 137px;
    }
   
    100%{
        background-position: -425px 137px;
    }
   
}